/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.manager.impl;

import java.util.Collection;
import java.util.List;

import com.xy.biz.xd.domain.bo.DocumentFlowBorrowAndPrintAndDropBO;
import com.xy.biz.xd.domain.bo.DocumentFlowNewAndModifyBO;
import com.xy.biz.xd.domain.converter.DocumentFlowNewAndModifyConverter;
import com.xy.biz.xd.manager.DocumentFlowManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xy.biz.xd.domain.bo.DocumentFlowBorrowBO;
import com.xy.biz.xd.domain.query.DocumentFlowBorrowQuery;
import com.xy.biz.xd.domain.converter.DocumentFlowBorrowConverter;
import com.xy.biz.xd.manager.DocumentFlowBorrowManager;
import com.xy.biz.xd.dao.DocumentFlowBorrowDao;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 *
 * @author wwj
 * @date 2021-2-4
 */
@Service
public class DocumentFlowBorrowManagerImpl implements DocumentFlowBorrowManager {

	@Autowired
	private DocumentFlowBorrowDao documentFlowBorrowDao;


	@Override
	public int saveDocumentFlowBorrow(DocumentFlowBorrowBO documentFlowBorrowBO) {
		return documentFlowBorrowDao.saveDocumentFlowBorrow(DocumentFlowBorrowConverter.toPO(documentFlowBorrowBO));
	}

}
